package yc.star.system.domain.sysuser;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import yc.star.common.domain.BaseEntity;



@TableName("tb_sys_user")
@Getter
@Setter
@ToString
public class SysUser extends BaseEntity {

    @TableId(value = "USER_ID", type = IdType.ASSIGN_ID)  // 雪花算法创建用户id
    private Long userId;

    private String userAccount;

    private String password;

    private String nickName;

}